package com.ruoyi.order.domain;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;

public class ProductImportData {
    private String productNo;
    private String productName;
    private String productCategory;
    private String productSpecification;
    private String productUrl;
    private BigDecimal productPrice;
    private Map<String, BigDecimal> wholesalePrices = new HashMap<>();

    public void addWholesalePrice(String specification, BigDecimal price) {
        wholesalePrices.put(specification, price);
    }

    // getters and setters
    public String getProductNo() { return productNo; }
    public void setProductNo(String productNo) { this.productNo = productNo; }

    public String getProductName() { return productName; }
    public void setProductName(String productName) { this.productName = productName; }

    public String getProductCategory() { return productCategory; }
    public void setProductCategory(String productCategory) { this.productCategory = productCategory; }

    public String getProductSpecification() { return productSpecification; }
    public void setProductSpecification(String productSpecification) { this.productSpecification = productSpecification; }

    public String getProductUrl() { return productUrl; }
    public void setProductUrl(String productUrl) { this.productUrl = productUrl; }

    public BigDecimal getProductPrice() { return productPrice; }
    public void setProductPrice(BigDecimal productPrice) { this.productPrice = productPrice; }

    public Map<String, BigDecimal> getWholesalePrices() { return wholesalePrices; }
    public void setWholesalePrices(Map<String, BigDecimal> wholesalePrices) { this.wholesalePrices = wholesalePrices; }
}
